package com.dropdb.demo.bean.vo;

import com.dropdb.demo.bean.Goods;
import com.dropdb.demo.bean.Order;
import com.dropdb.demo.bean.OrderGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Alone
 * @version 1.0
 * @date 2020/6/27 11:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MarketOrderDetailVO {
    Order order;
    List<OrderGoods> orderGoods;
    MarketUserVO user=new MarketUserVO();

    public void setUser(String avatar,String nickname){
        this.user.setAvatar(avatar);
        this.user.setNickname(nickname);
    }
}
